package org.chen.common.hotel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@TableName("hotel_cities")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class City {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String name;

    private String englishName;

    private Integer cityId;

    private Integer countryId;

    private String countryName;

    private String code;

    private Boolean isActive = true;

    private Integer sortOrder = 0;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}